package com.jkoss.wine.warehouse.vo;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import cn.afterturn.easypoi.excel.annotation.Excel;

public class InoutOrderVo {

	/**
	 * 仓库名称
	 */
	@Excel(name = "仓库名称", orderNum = "0", width = 30)
	private String wname;
	/**
	 * 数量
	 */
	@Excel(name = "数量", orderNum = "2", width = 30)
	private String odamut;
	/**
	 * 产品规格名称
	 */
	@Excel(name = "产品规格名称", orderNum = "1", width = 30)
	private String normname;
	private String opname;

	/**
	 * 入库单价
	 */
	private Integer unpr;
	/**
	 * 总价
	 */
	private Integer ttpr;

	@TableId("id")
	private String id;
	/**
	 * 订单编号
	 */
	@TableField("onum")
	private String onum;
	/**
	 * 订单金额
	 */
	@TableField("opcs")
	private Integer opcs;
	/**
	 * 订单类型：1-出库、2-入库
	 */
	@TableField("type")
	private Integer type;
	/**
	 * 订单时间
	 */
	@TableField("odtm")
	private Date odtm;
	/**
	 * 添加时间
	 */
	@TableField("add_time")
	private Date addTime;
	/**
	 * 操作人
	 */
	@TableField("operator")
	private String operator;
	/**
	 * 是否删除 0否1是
	 */
	@TableField("del")
	private Integer del;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOnum() {
		return onum;
	}

	public void setOnum(String onum) {
		this.onum = onum;
	}

	public Integer getOpcs() {
		return opcs;
	}

	public void setOpcs(Integer opcs) {
		this.opcs = opcs;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getOdtm() {
		return odtm;
	}

	public void setOdtm(Date odtm) {
		this.odtm = odtm;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	public String getWname() {
		return wname;
	}

	public void setWname(String wname) {
		this.wname = wname;
	}

	public String getOpname() {
		return opname;
	}

	public void setOpname(String opname) {
		this.opname = opname;
	}

	public String getOdamut() {
		return odamut;
	}

	public void setOdamut(String odamut) {
		this.odamut = odamut;
	}

	public String getNormname() {
		return normname;
	}

	public void setNormname(String normname) {
		this.normname = normname;
	}

	public Integer getUnpr() {
		return unpr;
	}

	public void setUnpr(Integer unpr) {
		this.unpr = unpr;
	}

	public Integer getTtpr() {
		return ttpr;
	}

	public void setTtpr(Integer ttpr) {
		this.ttpr = ttpr;
	}

	@Override
	public String toString() {
		return "WareInoutOrder{" + ", id=" + id + ", onum=" + onum + ", opcs=" + opcs + ", type=" + type + ", odtm=" + odtm + ", addTime=" + addTime + ", operator=" + operator + ", del=" + del + "}";
	}

}
